package com.zking.shiro.mapper;

import com.zking.shiro.model.Permission;
import com.zking.shiro.model.Role;

public interface PermissionMapper {
    int deleteByPrimaryKey(Long permissionId);

    int insert(Permission record);

    int insertSelective(Permission record);

    Permission selectByPrimaryKey(Long permissionId);

    int updateByPrimaryKeySelective(Permission record);

    int updateByPrimaryKey(Permission record);

    int delRolePms(Permission permission);//删除角色权限表
}